package com.swgk.core.base.di;

import android.app.Application;

import com.swgk.core.base.api.BaseApiSource;
import com.swgk.core.base.model.preference.BasePreferenceSource;

import javax.inject.Singleton;

import dagger.Component;

/**
 * Description:
 * Author zhengkewen
 * Time 2017/12/11
 */
@Singleton
@Component(modules = {AppModule.class, NetworkModule.class})
public interface AppComponent {
    Application getApplication();

    BaseApiSource getBaseApiSource();

    BasePreferenceSource getPreferenceSource();
}
